mirror of
https://github.com/FlipsideCrypto/bsc-models.git
synced 2026-02-06 18:11:49 +00:00
coalesce
This commit is contained in:
parent
35baf9a16e
commit
eeccb7bd78
@ -222,7 +222,7 @@ SELECT
|
||||
WHEN destination_chain IN ('cosmoshub','kujira')
|
||||
THEN utils.udf_hex_to_bech32(destination_recipient_address,SUBSTR(destination_chain,1,6))
|
||||
WHEN destination_chain IN ('near')
|
||||
THEN near_address
|
||||
THEN COALESCE(near_address,destination_recipient_address)
|
||||
WHEN destination_chain IN ('algorand')
|
||||
THEN utils.udf_hex_to_algorand(destination_recipient_address)
|
||||
WHEN destination_chain IN ('polygon')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user