Remove redundant MakeUCharSpan wrappers
This commit is contained in:
1 file changed
+5
-5
@@ -1344,7 +1344,7 @@ static RPCHelpMan combinepsbt()
|
|||||||
|
|
||||||
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
|
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
|
||||||
ssTx << merged_psbt;
|
ssTx << merged_psbt;
|
||||||
return EncodeBase64(MakeUCharSpan(ssTx));
|
return EncodeBase64(ssTx);
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -1483,7 +1483,7 @@ static RPCHelpMan createpsbt()
|
|||||||
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
|
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
|
||||||
ssTx << psbtx;
|
ssTx << psbtx;
|
||||||
|
|
||||||
return EncodeBase64(MakeUCharSpan(ssTx));
|
return EncodeBase64(ssTx);
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -1552,7 +1552,7 @@ static RPCHelpMan converttopsbt()
|
|||||||
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
|
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
|
||||||
ssTx << psbtx;
|
ssTx << psbtx;
|
||||||
|
|
||||||
return EncodeBase64(MakeUCharSpan(ssTx));
|
return EncodeBase64(ssTx);
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -1643,7 +1643,7 @@ static RPCHelpMan utxoupdatepsbt()
|
|||||||
|
|
||||||
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
|
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
|
||||||
ssTx << psbtx;
|
ssTx << psbtx;
|
||||||
return EncodeBase64(MakeUCharSpan(ssTx));
|
return EncodeBase64(ssTx);
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -1739,7 +1739,7 @@ static RPCHelpMan joinpsbts()
|
|||||||
|
|
||||||
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
|
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
|
||||||
ssTx << shuffled_psbt;
|
ssTx << shuffled_psbt;
|
||||||
return EncodeBase64(MakeUCharSpan(ssTx));
|
return EncodeBase64(ssTx);
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user